/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package SynchronizationLayer;

import Repository.IRepositoryProxy;
import java.net.InetAddress;
import java.util.ArrayList;

/**
 *
 * @author Tomasz Nowak
 */
public interface IPacketHandler
{
	PacketHandlerResult handle( NotarySynchronizationPacket notarySynchronizationPacket, IRepositoryProxy repositoryProxy, ISynchronizationServer synchronizationServer );

	public void setExpectedPackets( PacketHandlerResult handleResult, ArrayList<ExpectedPacket> expectedPackets );

	public void handleTimeout( IRepositoryProxy repositoryProxy, ISynchronizationServer synchronizationServer );
}
